package com.edu.service.impl;

import com.edu.beans.Guest;
import com.edu.dao.GuestDao;
import com.edu.dao.impl.GuestDaoImpl;
import com.edu.service.GuestService;

import java.util.Collections;
import java.util.List;

public class GuestServiceImpl implements GuestService {

    GuestDao guestDao = new GuestDaoImpl();
    @Override
    public List<Guest> getGuestsByPhone(String phone) {
        return guestDao.getGuestsByPhone(phone);
    }
}
